package vo;

import java.util.Date;

public class Message {
        private String username;
        private String message;
        private Date time;

        public Message(String username, String text,Date time) {
        this.username = username;
        this.message = text;
        this.time = time;
       }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}

